// Created by wangliang on 2025/3/20.

import 'package:event_bus/event_bus.dart';

class EventBusHelper {
  static final EventBusHelper _singleton = EventBusHelper._internal();

  static EventBusHelper get instance => _singleton;

  EventBusHelper._internal();

  final EventBus _eventBus = EventBus();

  EventBus get defaultEventBus => _eventBus;
}

class FeedbackRelatePageCloseEvent {}

class MoreProblemPageCloseEvent {}

class HomeTabChangedEvent {
  final int index;

  HomeTabChangedEvent(this.index);
}

class HomeTabJumpToEvent {
  final int index;
  HomeTabJumpToEvent(this.index);
}

class HomeTabHideBottomPopup {}

class LogoffPageCloseEvent {}

class LogoutEvent {}

class ShowUnLoginDialogEvent {}

class PageStopUserGestureEvent {}
